package com.jeecms.wicool.entity.shops.base;

import java.sql.Timestamp;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.wicool.entity.shops.ShopInfo;

/**
 * AbstractCoupon entity provides the base persistence definition of the
 * Coupon entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractCoupon implements java.io.Serializable {

	// Fields

	private Integer id;
	private ShopInfo shop;
	private Integer couponType;
	private String couponTypeName;
	private String couponName;
	private Integer score;
	private Integer validityDays;
	private String content;
	private String imgUrl;
	private Integer orderNum;
	private Short status;
	private String statusName;
	private CmsUser publisher;
	private Timestamp createTime;
	private Timestamp updateTime;
	

	// Constructors

	/** default constructor */
	public AbstractCoupon() {
	}


	public AbstractCoupon(Integer id, ShopInfo shop, Integer couponType,
			String couponTypeName, String couponName, Integer score,
			Integer validityDays, String content, String imgUrl,
			Integer orderNum, Short status, String statusName,
			CmsUser publisher, Timestamp createTime, Timestamp updateTime) {
		super();
		this.id = id;
		this.shop = shop;
		this.couponType = couponType;
		this.couponTypeName = couponTypeName;
		this.couponName = couponName;
		this.score = score;
		this.validityDays = validityDays;
		this.content = content;
		this.imgUrl = imgUrl;
		this.orderNum = orderNum;
		this.status = status;
		this.statusName = statusName;
		this.publisher = publisher;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}



	public ShopInfo getShop() {
		return shop;
	}


	public void setShop(ShopInfo shop) {
		this.shop = shop;
	}


	public Integer getCouponType() {
		return couponType;
	}


	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}


	public String getCouponTypeName() {
		return couponTypeName;
	}


	public void setCouponTypeName(String couponTypeName) {
		this.couponTypeName = couponTypeName;
	}


	public String getCouponName() {
		return couponName;
	}


	public void setCouponName(String couponName) {
		this.couponName = couponName;
	}


	public Integer getScore() {
		return score;
	}


	public void setScore(Integer score) {
		this.score = score;
	}


	public Integer getValidityDays() {
		return validityDays;
	}


	public void setValidityDays(Integer validityDays) {
		this.validityDays = validityDays;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getImgUrl() {
		return imgUrl;
	}


	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}


	public Integer getOrderNum() {
		return orderNum;
	}


	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}


	public Short getStatus() {
		return status;
	}


	public void setStatus(Short status) {
		this.status = status;
	}


	public String getStatusName() {
		return statusName;
	}


	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}


	public CmsUser getPublisher() {
		return publisher;
	}


	public void setPublisher(CmsUser publisher) {
		this.publisher = publisher;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

}